<?php
	
	// breadcrumbs
	$this->breadcrumbs = array(
		'Users',
	);
	
?>

<div class="main-tit">
    <?php echo CHtml::link('Create a user', array('user/create'), array('class'=>'btn-default')) ?>
    <h2>Users</h2>
</div>


<?php $this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider,
    'itemsCssClass'=>'items clearfix',
	'itemView'=>'_view',
    'template'=>"{items}\n{summary}\n{pager}",
    'cssFile'=>Yii::app()->baseUrl.'/css/admin/listview/styles.css',
    'pager'=>array(
        'cssFile'=>Yii::app()->baseUrl.'/css/admin/pager.css',
    ),
    'sortableAttributes'=>array('create_time'),
)); ?>
